package javabean;

public class Point {
    private Integer id;
    private String pointExplain;
    private Integer needPoints;
    private  Integer gainCouponId;
    private String pointPicture;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPointExplain() {
        return pointExplain;
    }

    public void setPointExplain(String pointExplain) {
        this.pointExplain = pointExplain;
    }

    public Integer getNeedPoints() {
        return needPoints;
    }

    public void setNeedPoints(Integer needPoints) {
        this.needPoints = needPoints;
    }

    public Integer getGainCouponId() {
        return gainCouponId;
    }

    public void setGainCouponId(Integer gainCouponId) {
        this.gainCouponId = gainCouponId;
    }

    public String getPointPicture() {
        return pointPicture;
    }

    public void setPointPicture(String pointPicture) {
        this.pointPicture = pointPicture;
    }

    public Point() {
    }

    public Point(Integer id, String pointExplain, Integer needPoints, Integer gainCouponId, String pointPicture) {
        this.id = id;
        this.pointExplain = pointExplain;
        this.needPoints = needPoints;
        this.gainCouponId = gainCouponId;
        this.pointPicture = pointPicture;
    }

    @Override
    public String toString() {
        return "Point{" +
                "id=" + id +
                ", pointExplain='" + pointExplain + '\'' +
                ", needPoints=" + needPoints +
                ", gainCouponId=" + gainCouponId +
                ", pointPicture='" + pointPicture + '\'' +
                '}';
    }
}
